package com.dhcc.cdc.busi.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.dhcc.cdc.busi.entity.CdcDictionaryEntity;
import com.dhcc.core.framework.base.service.IBaseService;

import java.util.List;
import java.util.Map;

/**
 * 业务字典表数据服务层接口
 * 
 * @ClassName: ICdcDictionaryService
 * @Description: TODO
 * @author jumper
 * @date 2021-03-15 10:20:07
 */
public interface ICdcDictionaryService  extends IBaseService<CdcDictionaryEntity> {
	
    List<CdcDictionaryEntity> page(Page<CdcDictionaryEntity> page,Map<String, Object> map);
    List<CdcDictionaryEntity> list(Map<String, Object> map);
    List<CdcDictionaryEntity> queryByTypeCode(String dataCode,String typeCode);

    /**
     * 根据业务数据类型code字典类型code和字典code查询字典
     * @param dicTypeCode
     * @param typeCode
     * @return
     */
    CdcDictionaryEntity queryByTypeCodeAndCode(String dataCode, String dicTypeCode, String typeCode);
}
